package cate.common.table.item.hero.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class HeroLevelRow extends ERow {

    /** 等级 */
    public int level;
    public String consumeStr;
    /** 升级所需阶数 */
    public int gradeRequire;
    /** 升级所需星级 */
    public int starRequire;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("等级", 0);
        this.level = xrw.getInteger("等级", 0);
        this.consumeStr = xrw.getString("消耗");
        this.gradeRequire = xrw.getInteger("升级所需阶数", 0);
        this.starRequire = xrw.getInteger("升级所需星级", 0);
    }

    @Override
    public void decode() {}
}
